package com.qianfeng.openapi.web.master.service;

import com.github.pagehelper.PageInfo;
import com.qianfeng.openapi.web.master.pojo.UserToken;

import java.util.List;

public interface UserTokenService {

    int insertUserToken(UserToken UserToken);
    int updateUserToken(UserToken UserToken);
    int deleteUserToken(Integer id);
    UserToken getUserTokenById(Integer id);
    List<UserToken> getAllUserTokens();

    public PageInfo<UserToken> getUserTokenByPage(Integer page, Integer limit);

    void deleteUserTokens(Integer[] ids);

    PageInfo<UserToken> selectUserTokenByCondition(Integer page, Integer limit, Integer appId, Integer userId,String access_token);

}
